package com.xuetang9.t9.hotel.beans;

import java.io.Serializable;
import java.util.List;

/**
 * 房间类型
 * @author PANG
 */
public class RoomType implements Serializable {
    /**
     *房间类型id
     */
    private Integer typeId;

    /**
     *房间类型名称
     */
    private String typeName;

    /**
     *房间类型价格
     */
    private Double typePrice;

    /**
     *房间床位数
     */
    private Integer typeBedNum;

    /**
     *房间可住人数
     */
    private Integer typePeonum;

    /**
     *房间类型备注
     */
    private String typeComm;

    /**
     * 该类型下的所有房间
     */
    private List<RoomInfo> roomInfos;



    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Double getTypePrice() {
        return typePrice;
    }

    public void setTypePrice(Double typePrice) {
        this.typePrice = typePrice;
    }

    public Integer getTypeBedNum() {
        return typeBedNum;
    }

    public void setTypeBedNum(Integer typeBedNum) {
        this.typeBedNum = typeBedNum;
    }

    public Integer getTypePeonum() {
        return typePeonum;
    }

    public void setTypePeonum(Integer typePeonum) {
        this.typePeonum = typePeonum;
    }

    public String getTypeComm() {
        return typeComm;
    }

    public void setTypeComm(String typeComm) {
        this.typeComm = typeComm;
    }

    public List<RoomInfo> getRoomInfos() {
        return roomInfos;
    }

    public void setRoomInfos(List<RoomInfo> roomInfos) {
        this.roomInfos = roomInfos;
    }

    @Override
    public String toString() {
        return "RoomType{" +
                "typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", typePrice=" + typePrice +
                ", typeBedNum=" + typeBedNum +
                ", typePeonum=" + typePeonum +
                ", typeComm='" + typeComm + '\'' +
                ", roomInfos=" + roomInfos +
                '}';
    }
}
